# import cv2
# import numpy as np
# img = np.zeros((240, 320), dtype=np.uint8)
# img[70:170,110:210] = 255
# cv2.namedWindow("test", cv2.WINDOW_NORMAL)
# cv2.imshow("test", img)
# key = cv2.waitKey(5000)
# if key == 27:
#     cv2.destroyWindow("test")

import cv2
img = cv2.imread("images/008.jpg")
ret = img.shape
cv2.imshow("test", img)
cv2.resizeWindow("test", ret[1] // 2, ret[0] // 2)
key = cv2.waitKey(5000)
cv2.destroyAllWindows()